Skip to content

Rewrite serve task to remove dependencies#4609

Merged
querkmachine merged 1 commit into
mainfrom
serve-task-rewrite
Apr 11, 2025
Merged

Rewrite serve task to remove dependencies#4609
querkmachine merged 1 commit into
mainfrom
serve-task-rewrite

Conversation

@querkmachine
Copy link
Copy Markdown
Member

@querkmachine querkmachine commented Apr 7, 2025

Rewrites the serve task to use browser-sync, similar to the start task. This removes the need for the connect and serve-static npm dependencies, which are only used for this task.

@querkmachine querkmachine self-assigned this Apr 7, 2025
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 7, 2025

You can preview this change here:

Name Link
🔨 Latest commit 6b02271
🔍 Latest deploy log https://app.netlify.com/sites/govuk-design-system-preview/deploys/67f3cbb22dca84000871599b
😎 Deploy Preview https://deploy-preview-4609--govuk-design-system-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Rewrites the serve task to use browser-sync like the start task, removing the need for the `connect` and `serve-static` dependencies
@querkmachine querkmachine requested a review from a team April 7, 2025 13:19
@querkmachine querkmachine marked this pull request as ready for review April 7, 2025 13:20
Copy link
Copy Markdown
Contributor

@owenatgov owenatgov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works a dream 👍🏻

@querkmachine querkmachine merged commit 19466d1 into main Apr 11, 2025
15 checks passed
@querkmachine querkmachine deleted the serve-task-rewrite branch April 11, 2025 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants